﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<AspNetMvc.Models.PagedModel<System.Collections.Generic.List<AspNetMvc.Models.EventForView>>>" %>

<asp:Content ContentPlaceHolderID="TitleContent" runat="server">
    My events
</asp:Content>
<asp:Content ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <% if (Model.PagesCount == 0)
       {%>
    <p class="message">
        <%= ViewStrings.EventsStrings.NoYourEvents %>
    </p>
    <%
        }
       else
       {
           Html.RenderPartial("EventsList");
       }%>
</asp:Content>
